import { Component, OnInit } from '@angular/core';
import {NzUploadModule} from 'ng-zorro-antd/upload';
import {NzResultModule} from 'ng-zorro-antd/result';
import {NzBadgeModule} from 'ng-zorro-antd/badge';
import {NzSpinModule} from 'ng-zorro-antd/spin';
import {NzLayoutModule} from 'ng-zorro-antd/layout';
import {NzUploadFile} from 'ng-zorro-antd/upload';

@Component({
  selector: 'app-homedata',
  templateUrl: './homedata.component.html',
  styleUrls: ['./homedata.component.css']
})
export class HomedataComponent implements OnInit {
  fileList: NzUploadFile[] = [];
  isVisable = true;
  successHidden=true;
  failHidden=false;
  constructor() {

   }
  showModal(): void {
    this.isVisable = true;
  }

  handleOk(): void {
    console.log('Button ok clicked!');
    this.isVisable = false;
  }

  handleCancel(): void {
    console.log('Button cancel clicked!');
    this.isVisable = false;
  }
  clickok():void{
    this.isVisable = !this.isVisable;
  }
  ngOnInit(): void {
  }

}
